/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package requestManager;

import app.Global;
import entities.EmployeeShiftRequest;
import lib.JButtonTable.ButtonModel;

/**
 *
 * @author yoshi
 */
public class ViewNoteButtonModel implements ButtonModel {

    private EmployeeShiftRequest request;

    public ViewNoteButtonModel(EmployeeShiftRequest request) {
        this.request = request;
    }

    @Override
    public String getText() {
        return "View";
    }

    @Override
    public boolean isEnable() {
        return true;
    }

    public EmployeeShiftRequest getRequest() {
        return request;
    }
    
}
